package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/4/13 14:29
 */
@Data
@ApiModel
public class OrderDetailReq extends UserWithLoginReq implements Serializable {

    private static final long serialVersionUID = -5562746876034911206L;

    @ApiModelProperty(value = "查询类型（1-景点 2-酒店）", allowableValues = "1,2")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Integer orderId;
}
